home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 8: LINUX Games / Linux Cubed Series 8 - LINUX Games.iso / games / video / fly8111-.000 / fly8111- / fly8 / shapes / target.vx < prev    next >
Text File  |  1979-12-31  |  1KB  |  68 lines

  1. /* --------------------------------- target.vx ------------------------------ */
  2.  
  3. /*
  4.  * This is part of the flight simulator 'fly8'.
  5.  * Author: Eyal Lebedinsky (eyal@ise.canberra.edu.au).
  6.  *
  7.  */
  8.  
  9. /*
  10.  * Object shape: O_TARGET.
  11. */
  12.  
  13. #include "shape.h"
  14.  
  15. #if 0
  16. #define    S    10
  17. static VERTEX vx_target[] = {        /* 2D 4 edges */
  18.     {{ 0,  S,  0}, V_MOVE},
  19.     {{-S,  0,  0}, V_DRAW},
  20.     {{ 0, -S,  0}, V_DRAW},
  21.     {{ S,  0,  0}, V_DRAW},
  22.     {{ 0,  S,  0}, V_DRAW},
  23.  
  24.     {{ 0,  0,  0}, V_EOF}
  25. };
  26. #endif
  27.  
  28. #if 0
  29. #define    S    5
  30. static VERTEX vx_target[] = {        /* 3D 9 edges */
  31.     {{   0,   0, 2*S}, V_MOVE},
  32.     {{   0,-2*S,   0}, V_DRAW},
  33.     {{   0,   0,-2*S}, V_DRAW},
  34.     {{ 2*S,   S,   0}, V_DRAW},
  35.     {{-2*S,   S,   0}, V_DRAW},
  36.     {{   0,-2*S,   0}, V_DRAW},
  37.     {{ 2*S,   S,   0}, V_DRAW},
  38.     {{   0,   0, 2*S}, V_DRAW},
  39.     {{-2*S,   S,   0}, V_DRAW},
  40.     {{   0,   0,-2*S}, V_DRAW},
  41.  
  42.     {{   0,   0,   0}, V_EOF}
  43. };
  44. #endif
  45.  
  46. #if 1
  47. #define    S    10
  48. static VERTEX vx_target[] = {        /* 3D 12 edges */
  49.     {{  0,   0,   S}, V_MOVE},
  50.     {{  S,   0,   0}, V_DRAW},
  51.     {{  0,   0,  -S}, V_DRAW},
  52.     {{ -S,   0,   0}, V_DRAW},
  53.     {{  0,   0,   S}, V_DRAW},
  54.     {{  0,   S,   0}, V_DRAW},
  55.     {{  0,   0,  -S}, V_DRAW},
  56.     {{  0,  -S,   0}, V_DRAW},
  57.     {{  0,   0,   S}, V_DRAW},
  58.  
  59.     {{  0,   S,   0}, V_MOVE},
  60.     {{  S,   0,   0}, V_DRAW},
  61.     {{  0,  -S,   0}, V_DRAW},
  62.     {{ -S,   0,   0}, V_DRAW},
  63.     {{  0,   S,   0}, V_DRAW},
  64.  
  65.     {{  0,   0,   0}, V_EOF}
  66. };
  67. #endif
  68.